package
{
	import flash.display.Sprite;
	import flash.filters.GlowFilter;

	public class Block extends Sprite
	{
		
		
		public function Block(taille:int = 20)
		{
			
			graphics.beginFill(0xFF0000);
			//graphics.beginFill( (  (uint(Math.random()*255)) << 16    ) | (   (uint(Math.random()*255)) << 8   ) | (   uint(Math.random()*255)    ));
			graphics.drawRect(0,0,taille,taille);
			
			var filter:GlowFilter = new GlowFilter(0x770000, 1, 2, 2, 70, 10, true);
			this.filters = [filter];
			
		}
	}
}